Skip to main content
Removed preamble, signature and formatting.
Source Link
MrWhite
  • 43.3k
  • 4
  • 51
  • 90

hope you are all doing well!

So my questions is as follows:

Say I have a website at /var/www/Electrician/var/www/Electrician and I have a website at /var/www/Restaurant/var/www/Restaurant.

If these websites use separate host files can I use the same CSS to reduce space?

If I am not mistaken I would certainly be unable to do ../../css/style.css../../css/style.css because the one host is restricted from accessaccessing the other, I would imagine.

I can see putting the one website into the other website directory, but I see that leaving room for cross-site issues.

I will admit I am doing a poor job explaining this. Essentially I would like to share CSS stylesheets between to separate websites on the same server, which will employ separate host files.

I appreciate you for taking the time for having read this, if you can provide assistance more praise is underway!

Take care, _Evan

hope you are all doing well!

So my questions is as follows:

Say I have a website at /var/www/Electrician and I have a website at /var/www/Restaurant

If these websites use separate host files can I use the same CSS to reduce space?

If I am not mistaken I would certainly be unable to do ../../css/style.css because the one host is restricted from access the other, I would imagine.

I can see putting the one website into the other website directory, but I see that leaving room for cross-site issues.

I will admit I am doing a poor job explaining this. Essentially I would like to share CSS stylesheets between to separate websites on the same server, which will employ separate host files.

I appreciate you for taking the time for having read this, if you can provide assistance more praise is underway!

Take care, _Evan

So my questions is as follows:

Say I have a website at /var/www/Electrician and I have a website at /var/www/Restaurant.

If these websites use separate host files can I use the same CSS to reduce space?

If I am not mistaken I would certainly be unable to do ../../css/style.css because the one host is restricted from accessing the other, I would imagine.

I can see putting the one website into the other website directory, but I see that leaving room for cross-site issues.

I will admit I am doing a poor job explaining this. Essentially I would like to share CSS stylesheets between to separate websites on the same server, which will employ separate host files.

I appreciate you for taking the time for having read this, if you can provide assistance more praise is underway!

Source Link

Is this possible: Use css from other virtual host?

hope you are all doing well!

So my questions is as follows:

Say I have a website at /var/www/Electrician and I have a website at /var/www/Restaurant

If these websites use separate host files can I use the same CSS to reduce space?

If I am not mistaken I would certainly be unable to do ../../css/style.css because the one host is restricted from access the other, I would imagine.

I can see putting the one website into the other website directory, but I see that leaving room for cross-site issues.

I will admit I am doing a poor job explaining this. Essentially I would like to share CSS stylesheets between to separate websites on the same server, which will employ separate host files.

I appreciate you for taking the time for having read this, if you can provide assistance more praise is underway!

Take care, _Evan